/*******************************************************************************
 * Package: com.chris.product.service.impl
 * Type:    ProductServiceImpl
 * Date:    2024/3/1 下午2:46
 *
 * Copyright (c) 2024 BOING CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.chris.common.service;

import com.chris.common.entity.Product;
import com.chris.product.dao.ProductDao;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * TODO your comment
 *
 * @author Hudesheng
 * @date 2024/3/1 下午2:46
 */
//@Service
public class DubboProductServiceImpl implements ProductService {
    @Autowired
    private ProductDao productDao;
    @Override
    public Product findById(Integer pid) {
        return productDao.findById(pid).get();
    }
}